package com.xzg.user.dao;

import com.xzg.common.vo.QueryCondition;
import com.xzg.user.entity.User;

import java.util.HashMap;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUsername(String username);

    List<User> selectUser();

    int countUser();

    List<User> listUser(QueryCondition condition);

    List<User> queryNameByIds(HashMap<String, Object> userIdParam);

    User selectAllByUsername(String username);


    User selectIntegral(Long id);

    List<User> selectCid(HashMap<String, Object> userIdParam);
}